-
Notifications
You must be signed in to change notification settings - Fork 159
Add support for Resize (Expand Volume) on the driver #317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@davidz627: GitHub didn't allow me to request PR reviews from the following users: gnufied. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidz627 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3e4f1a7
to
3795aad
Compare
@msau42 addressed your comments |
cf065f3
to
7713644
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good
23a2a74
to
dd9f565
Compare
dd9f565
to
3f690ec
Compare
3f690ec
to
1ed5050
Compare
/retest |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
1 similar comment
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
1ed5050
to
2fb615e
Compare
0d6e4b9
to
e5fa733
Compare
pkg/gce-pd-csi-driver/node.go
Outdated
if err != nil { | ||
return nil, status.Error(codes.Internal, fmt.Sprintf("ControllerExpandVolume error when getting size of block volume at path %s: %v", devicePath, err)) | ||
} | ||
if gotBlockSizeBytes != reqBytes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be got >= req? I believe GCE rounds up (?) to the nearest Gb?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if we need to check disk size at all here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think im going to continue to verify disk size but just check for got >= req
. Just as a quick sanity check. It's not super necessary but might catch errors if for some reason the disk is not resized properly
060d355
to
acef10c
Compare
@davidz627: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
/kind feature
Fixes #227
/assign @msau42 @saad-ali
/cc @gnufied